package heap

import "ch06/classfile"

type InterfaceMethodRef struct {
	MemberRef
	method *Method
}

func newInterfaceMethodRef(cp *ConstantPool,info classfile.ConstantInterfaceMethodrefInfo) *InterfaceMethodRef{
	ref :=&InterfaceMethodRef{}
	ref.cp =cp
	ref.copyMemberRefInfo(&info.ConstantMemberrefInfo)
	return ref
}

